package thisdemo;

public class Student {

    double score;

    public void printThis(){
        System.out.println(this);
    }
    public  void printPass(double score){
        if(this.score > score){   //变量名称冲突时。·
            System.out.println("恭喜你通过了考试");
        }else {
            System.out.println("落选了~");
        }
    }
}
